<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 
<h2> 접속정보 리스트</h2>

<table class="table table-striped">
	<tr>
		<th>no</th>
		<th>
			<div class="title">insert Date</div>
		</th>
		<th>
			<div class="title">remote Addr</div>
		</th>
		<th>
			<div class="title">user Agent</div>
		</th>
		<th>
			<div class="title">id</div>
		</th>
		<th>
			<div class="title">provider</div>
		</th>
		<th>
			<div class="title">metaId</div>
		</th>
	</tr>
	<c:forEach items="${landingList}" var="landing" varStatus="status">
	<tr>
		<td>${status.index + 1}</td>
		<td><fmt:formatDate value="${landing.insertDate}" pattern="yyyy-MM-dd hh:mm:ss"/></td>
		<td>${landing.remoteAddr }</td>
		<td>${fn:substring(landing.userAgent,0,50)}</td>
		<td>${landing.id}</td>
		<td>${landing.providerCode }</td>
		<td>${landing.metaId }</td>
	</tr>
	</c:forEach>
</table>
